import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
import miner from '@/components/miner'
import paylist from '@/components/paylist'
import block from '@/components/block'

Vue.use(Router)

export default new Router({
  //mode: 'history',
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/index',
      name: 'index',
      component: index
    },
    {
      path: '/miner',
      name: 'miner',
      component: miner
    },
    {
      path: '/paylist',
      name: 'paylist',
      component: paylist
    },
    {
      path: '/block',
      name: 'block',
      component: block
    }
  ]
})
